package com.hrh.selectsystem.mapper;

import com.hrh.selectsystem.model.entity.MentorApplicationCount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
* @author hetongxue
* @description 针对表【mentor_application_count(导师申请数表)】的数据库操作Mapper
* @createDate 2024-11-01 15:07:15
* @Entity com.hrh.selectsystem.model.entity.MentorApplicationCount
*/
public interface MentorApplicationCountMapper extends BaseMapper<MentorApplicationCount> {

    /**
     * 根据导师id获取导师申请数
     * @param mentorId
     * @return
     */
    MentorApplicationCount selectByMentorId(Long mentorId);

    /**
     * 根据导师id批量获取导师申请数
     * @param mentorIds
     * @return
     */
    List<MentorApplicationCount> selectApplicationIds(List<Long> mentorIds);
}




